package com.yuyou.tas.util.tool;

import org.apache.commons.codec.digest.DigestUtils;

public class MD5Util {
	
	public static String md5Hex(String key) {
		return  DigestUtils.md5Hex(key);
	}
	
	public static String md5Hex(String key,String salt) {
		return  DigestUtils.md5Hex(key+salt);
	}
	
	public static void main(String[] args) {
		System.out.println(md5Hex("123456"));
	}
	
}
